//
//  ShuangSeQiu.h
//  TheRicher
//
//  Created by 李晓东 on 2018/1/18.
//  Copyright © 2018年 PeanutXu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ShuangSeQiu : NSObject
@property (nonatomic, assign) NSInteger id;
@property (nonatomic, strong) NSString *red1;
@property (nonatomic, strong) NSString *red2;
@property (nonatomic, strong) NSString *red3;
@property (nonatomic, strong) NSString *red4;
@property (nonatomic, strong) NSString *red5;
@property (nonatomic, strong) NSString *red6;

@property (nonatomic, strong) NSString *blue;
// 彩票种类 ID
@property (nonatomic, assign) NSInteger caipiaoId;
// 开奖期号
@property (nonatomic, strong) NSString *issueno;
// 开奖日期
@property (nonatomic, strong) NSString *opendate;
// 本期杀号
@property (nonatomic, strong) NSString *killingNumber;
// 上期杀号(如果对应正确,就给该值赋值)
@property (nonatomic, strong) NSString *deadthNumber;

- (instancetype)initShuangSeQiu:(NSDictionary *)dict;
+ (instancetype)shuangSeQiuWithDict:(NSDictionary *)dict;
+ (instancetype)shuangSeQiuWithDictFromServer:(NSDictionary *)dict;

// 红球
- (NSString *)number;
// 开奖结果(红球+篮球)
- (NSString *)numberAndRefernumber;
// 判断是否红球中是否包含这个号码
- (BOOL)judgeWhetherItContain:(NSString *)ball;
@end
